/*
 * Copyright (C) 2010 TopCoder Inc., All Rights Reserved.
 */
package com.hercules.xre.protocol.testing.netty;

import javax.net.ssl.SSLEngine;

/**
 * <p>
 * Interface defining API for ChannelHandler classes that are responsible for delivering XRE commands.
 * </p>
 * <p>
 * <strong>Thread-safety:</strong> Implementing classes need to be thread safe.
 * </p>
 * @author TCSDESIGNER, TCSDEVELOPER
 * @version 1.0
 */
public interface SSLEngineFactory {
    /**
     * <p>
     * Creates new instance of SSLEngine.
     * </p>
     * @return SSLEngine that can be used for encryption.
     */
    public SSLEngine createEngine();
}
